home *** CD-ROM | disk | FTP | other *** search
- LDCLOSE(3X) Last changed: 1-8-99
-
-
- NNAAMMEE
- llddcclloossee, llddaacclloossee - Closes a common object file
-
- SSYYNNOOPPSSIISS
- ##iinncclluuddee <<ssttddiioo..hh>>
- ##iinncclluuddee <<ffiilleehhddrr..hh>>
- ##iinncclluuddee <<ssyymmss..hh>>
- ##iinncclluuddee <<llddffccnn..hh>>
-
- iinntt llddcclloossee ((_l_d_p_t_r))
- LLDDFFIILLEE **_l_d_p_t_r;;
-
- iinntt llddaacclloossee ((_l_d_p_t_r))
- LLDDFFIILLEE **_l_d_p_t_r;;
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- IRIX systems (o32 ABI only)
-
- DDEESSCCRRIIPPTTIIOONN
- llddooppeenn(3X) and llddcclloossee provide uniform access to simple object files
- and object files that are members of archive files. An archive of
- common object files can be processed as if it is a series of simple
- common object files.
-
- If TTYYPPEE((_l_d_p_t_r)) does not represent an archive file, llddcclloossee closes the
- file and frees the memory allocated to the LLDDFFIILLEE structure associated
- with llddppttrr. If TTYYPPEE((_l_d_p_t_r)) is the magic number for an archive file
- and if archive has more files, llddcclloossee reinitializes OOFFFFSSEETT((_l_d_p_t_r)) to
- the file address of the next archive member and returns FFAAIILLUURREE. The
- LLDDFFIILLEE structure is prepared for a later llddooppeenn(3X). In all other
- cases, llddcclloossee returns SSUUCCCCEESSSS.
-
- llddaacclloossee closes the file and frees the memory allocated to the LLDDFFIILLEE
- structure associated with llddppttrr regardless of the value of
- TTYYPPEE((_l_d_p_t_r)).. llddaacclloossee aallwwaayyss rreettuurrnnss SSUUCCCCEESSSS.. TThhee ffuunnccttiioonn iiss oofftteenn
- uusseedd wwiitthh llddaaooppeenn..
-
- The program must be loaded with the object file access routine library
-
- BBUUGGSS
- Only the memory associated with the LLDDFFIILLEE structure proper is freed.
- Memory allocated for subordinate structures (e.g. the symbol table)
- must be freed prior to calling llddcclloossee or llddaacclloossee.
-
- SSEEEE AALLSSOO
- ffcclloossee(3S), llddooppeenn(3X)
-
- iinnttrroo(4), llddffccnn(4), ppaatthhss..hh(4)
-
- This man page is available only online.
-